import {HTTP} from "@/utils/http.js"


const http = new HTTP()
const request = http.request.bind(http)

export function getProductClass(data) {
    return request({
        url: `/product/class`,
        method: 'post',
        data
    })
}


export function getProductList(data) {
    return request({
        url: `/product/list`,
        method: 'post',
        data
    })
}


export function getProductDetail(data){
    return request({
        url: `/product/detail`,
        method: 'post',
        data
    })
}
